#pragma once
#include "filter.h"
#include <XnCppWrapper.h>

class InputFilter :
	public Filter
{
public:
	InputFilter(int outputsCount = 1);
	virtual ~InputFilter(void);

	static xn::Context context;
	static int nInstances;
	static int nSyncs;
	static Filter *syncFilter;

	void NextFrame();
	void UseToSynchronize();

protected:
	xn::ProductionNode *node;
};

